package com.entity;


import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class Storage {
  @Override
  public String toString() {
    return "Storage{" +
            "id=" + id +
            ", storageId=" + storageId +
            ", staffId=" + staffId +
            ", createTime=" + createTime +
            ", price=" + price +
            ", momo='" + momo + '\'' +
            ", status=" + status +
            ", staff=" + staff +
            '}';
  }

  private Integer id;
  private Integer storageId;
  private Integer staffId;
  @JSONField(format ="yyyy-MM-dd HH:mm:ss")
  private java.sql.Timestamp createTime;
  private double price;
  private String momo;
  private int status;
  private Staff staff;
  private List<Storageinfo> storageinfoList;


  public List<Storageinfo> getStorageinfoList() {
    return storageinfoList;
  }

  public void setStorageinfoList(List<Storageinfo> storageinfoList) {
    this.storageinfoList = storageinfoList;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public Staff getStaff() {
    return staff;
  }

  public void setStaff(Staff staff) {
    this.staff = staff;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getStorageId() {
    return storageId;
  }

  public void setStorageId(Integer storageId) {
    this.storageId = storageId;
  }


  public Integer getStaffId() {
    return staffId;
  }

  public void setStaffId(Integer staffId) {
    this.staffId = staffId;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public String getMomo() {
    return momo;
  }

  public void setMomo(String momo) {
    this.momo = momo;
  }

}
